package io;

import java.io.FileOutputStream;
import java.io.FilterOutputStream;
import java.io.IOException;
import java.io.OutputStream;

/**
 * @author krystal
 * @date 2022/11/27 9:22
 */
//写文件
public class Demo7 {
    public static void main(String[] args) throws IOException {
        OutputStream outputStream=new FileOutputStream("./bbb.txt");
        outputStream.write(97);
        outputStream.write(98);
        outputStream.write(99);
        outputStream.close();
    }
}
